home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_12_02
/
saks
/
overload.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-12-14
|
337b
|
15 lines
Listing 3 - a class with overloaded virtual functions
class stream
{
// ...
public:
virtual stream &get(char &c);
virtual stream &get(double &d);
virtual stream &get(char *s);
virtual stream &put(char c);
virtual stream &put(double d);
virtual stream &put(const char *s);
// ...
};